package com.youlai.warehouse.model.query;

import com.youlai.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Schema(description ="产品信息分页查询对象")
@Data
public class BasicProductPageQuery extends BasePageQuery {

    @Schema(description="产品名称")
    private String name;

    @Schema(description="产品编码")
    private String productId;

    @Schema(description="产品品牌")
    private String deptId;

    @Schema(description="规格型号")
    private String model;

    @Schema(description="创建时间-开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startTime;

    @Schema(description="创建时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endTime;
}
